/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@import url('../variables.less');

.form-container {
  background-color: @white;
  padding: 28px 20px;
  border-width: 1px;
  border-radius: 8px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.04);
  width: 700px;
}

.form-item-horizontal {
  .ant-form-item-row {
    flex-direction: row;
    .ant-form-item-label {
      display: block;
      flex: 0 0 33.33333333%;
      max-width: 33.33333333%;
      padding: 0px;
      align-self: center;
    }
    .ant-form-item-control {
      display: block;
      flex: 0 0 66.66666667%;
      max-width: 66.66666667%;
    }
  }
}
.form-item-vertical {
  .ant-form-item-row {
    flex-direction: column;
  }
}
